from utils.report_generator import AllureReportGenerator

def pytest_sessionfinish(session, exitstatus):
    """测试会话结束后执行"""
    # 生成Allure报告
    AllureReportGenerator.generate_report()